package com.igroupes.ovineherd.model.Style;

import com.igroupes.ovineherd.model.enums.FormKey;

public class YearStyle extends DateStyle {
    private String minDate;
    private String maxDate;
    public YearStyle(String label, Object value, Boolean range,String minDate,String maxDate) {
        super(label, value, range);
        this.type = FormKey.YEAR.getCode();
        this.maxDate= maxDate;
        this.minDate = minDate;
        this.format = "YYYY";
        this.inputFormat = "YYYY";
    }
}
